package com.qinggeng.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qinggeng.framework.aspectj.lang.annotation.Excel;
import lombok.Data;

/**
 * 用户心愿礼品对象 user_wish_gift
 *
 * @author smallfish
 * @date 2020-10-30
 */
@Data
public class UserWishGift{
    private static final long serialVersionUID = 1L;

    /** 商品赠品ID */
    private Long userWishGiftId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long userId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long ordersId;

    /** 赠品ID */
    @Excel(name = "赠品ID")
    private String giftId;

    /** 抽奖次数 */
    @Excel(name = "抽奖次数")
    private Integer drawTimes;

    /** 抽奖类型（0=普通抽奖 1=免单抽奖 2=助力抽奖）*/
    @Excel(name = "抽奖类型（0=普通抽奖 1=免单抽奖 2=助力抽奖）")
    private Integer drawType;

    public Long getUserWishGiftId() {
        return userWishGiftId;
    }

    public void setUserWishGiftId(Long userWishGiftId) {
        this.userWishGiftId = userWishGiftId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getOrdersId() {
        return ordersId;
    }

    public void setOrdersId(Long ordersId) {
        this.ordersId = ordersId;
    }

    public String getGiftId() {
        return giftId;
    }

    public void setGiftId(String giftId) {
        this.giftId = giftId;
    }

    public Integer getDrawTimes() {
        return drawTimes;
    }

    public void setDrawTimes(Integer drawTimes) {
        this.drawTimes = drawTimes;
    }

    public Integer getDrawType() {
        return drawType;
    }

    public void setDrawType(Integer drawType) {
        this.drawType = drawType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userWishGiftId", getUserWishGiftId())
            .append("userId", getUserId())
            .append("giftId", getGiftId())
            .append("drawTimes", getDrawTimes())
            .toString();
    }
}
